/*
 * 文件名:Employee.java
 * 创建时间:2010-10-01
 * 版本:2.0
 * 版权所有:杨涛 walle1027@gmail.com
 */
package com.yangtao.ast.domain;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.*;
import java.util.Date;
import java.io.Serializable;
import com.yangtao.framework.hibernate.*;
import org.hibernate.annotations.Cascade;
import org.hibernate.annotations.CascadeType;
import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode;

/**
 * 
 * @author 代码生成器 v-2.0
 * @version 2.0
 */
@Entity
@Table(name = "WMS_AST_EMPLOYEE")
public class Employee extends BaseEntity implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 员工工号 
	 */
	@Column(name="CODE", length = 20)
	private String code;
	/**
	 * 员工类型 
	 */
	@Column(name="TYPE", length = 20)
	private String type;
	/**
	 * 姓名 
	 */
	@Column(name="NAME", length = 20)
	private String name;
	/**
	 * 英文名 
	 */
	@Column(name="ENAME", length = 20)
	private String ename;
	/**
	 * 出生日期 
	 */
	@Temporal(TemporalType.TIMESTAMP)
	private Date birthday;
	/**
	 * 性别 
	 */
	@Column(name="GENDER", length = 1)
	private String gender;
	/**
	 * 婚否 
	 */
	@Column(name="IS_MARRIAGE", length = 1)
	private String isMarriage;
	/**
	 * 学历 
	 */
	@Column(name="EDUCATION", length = 10)
	private String education;
	/**
	 * 身份证号 
	 */
	@Column(name="PID", length = 30)
	private String pid;
	/**
	 * 名字拼音 
	 */
	@Column(name="SPELL", length = 20)
	private String spell;
	/**
	 * 毕业学府 
	 */
	@Column(name="GRADUATE_FROM", length = 20)
	private String graduateFrom;
	/**
	 * 毕业年月 
	 */
	@Column(name="GRADUATE_YEAR", length = 20)
	private String graduateYear;
	/**
	 * 部门 
	 */
	@Column(name="DEPT", length = 20)
	private String dept;
	/**
	 * 职务 
	 */
	@Column(name="WORK_TYPE", length = 20)
	private String workType;
	/**
	 * 头衔 
	 */
	@Column(name="TITLE", length = 20)
	private String title;
	/**
	 * 级别 
	 */
	@Column(name="TREE_LEVEL", length = 20)
	private String treeLevel;
	/**
	 * 雇主 
	 */
	@Column(name="EMPLOYER", length = 20)
	private String employer;
	/**
	 * 状态 
	 */
	@Column(name="STATUS", length = 20)
	private String status;
	/**
	 * 入职时间 
	 */
	@Temporal(TemporalType.TIMESTAMP)
	private Date joinTime;
	/**
	 * 离职时间 
	 */
	@Temporal(TemporalType.TIMESTAMP)
	private Date continueTime;
	/**
	 * 住宅电话 
	 */
	@Column(name="HOME_PHONE", length = 50)
	private String homePhone;
	/**
	 * 办公室电话 
	 */
	@Column(name="OFFICE_PHONE", length = 50)
	private String officePhone;
	/**
	 * 手机 
	 */
	@Column(name="MOBILE", length = 50)
	private String mobile;
	/**
	 * EMAIL 
	 */
	@Column(name="EMAIL", length = 20)
	private String email;
	/**
	 * 传真 
	 */
	@Column(name="FAX", length = 20)
	private String fax;
	/**
	 * 现住地址 
	 */
	@Column(name="HOME_ADDR", length = 100)
	private String homeAddr;
	/**
	 * 现住地址编码 
	 */
	@Column(name="HOME_ADDR_ZIP", length = 20)
	private String homeAddrZip;
	/**
	 * 出生地址 
	 */
	@Column(name="BIRTH_PLACE", length = 100)
	private String birthPlace;
	/**
	 * 出生地编码 
	 */
	@Column(name="BIRTH_PLACE_ZIP", length = 20)
	private String birthPlaceZip;
	/**
	 * 视力 
	 */
	@Column(name="EYESIGHT", length = 20)
	private String eyesight;
	/**
	 * 性格 
	 */
	@Column(name="KIDNEY", length = 20)
	private String kidney;
	/**
	 * 体能 
	 */
	@Column(name="SINEW", length = 20)
	private String sinew;
	/**
	 * 从业资格证书 
	 */
	@Column(name="PERMITTED_LICENSE", length = 20)
	private String permittedLicense;
	/**
	 * 从业证发证机关 
	 */
	@Column(name="ORG_NAME", length = 20)
	private String orgName;
	/**
	 * 证件号 
	 */
	@Column(name="LICENSE_NO", length = 20)
	private String licenseNo;
	/**
	 * 工作经历 
	 */
	@Column(name="WORK_REMARK", length = 30)
	private String workRemark;
	/**
	 * 所受奖惩 
	 */
	@Column(name="REWARDS_PUNISHMENT", length = 20)
	private String rewardsPunishment;
	/**
	 * 备注 
	 */
	@Column(name="REMARK", length = 300)
	private String remark;


	/**
	 * 获取  员工工号
	 * @return code
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置 员工工号
	 * @param code 员工工号
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取  员工类型
	 * @return type
	 */
	public String getType() {
		return type;
	}
	/**
	 * 设置 员工类型
	 * @param type 员工类型
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * 获取  姓名
	 * @return name
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置 姓名
	 * @param name 姓名
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取  英文名
	 * @return ename
	 */
	public String getEname() {
		return ename;
	}
	/**
	 * 设置 英文名
	 * @param ename 英文名
	 */
	public void setEname(String ename) {
		this.ename = ename;
	}
	/**
	 * 获取  出生日期
	 * @return birthday
	 */
	public Date getBirthday() {
		return birthday;
	}
	/**
	 * 设置 出生日期
	 * @param birthday 出生日期
	 */
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	/**
	 * 获取  性别
	 * @return gender
	 */
	public String getGender() {
		return gender;
	}
	/**
	 * 设置 性别
	 * @param gender 性别
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}
	/**
	 * 获取  婚否
	 * @return isMarriage
	 */
	public String getIsMarriage() {
		return isMarriage;
	}
	/**
	 * 设置 婚否
	 * @param isMarriage 婚否
	 */
	public void setIsMarriage(String isMarriage) {
		this.isMarriage = isMarriage;
	}
	/**
	 * 获取  学历
	 * @return education
	 */
	public String getEducation() {
		return education;
	}
	/**
	 * 设置 学历
	 * @param education 学历
	 */
	public void setEducation(String education) {
		this.education = education;
	}
	/**
	 * 获取  身份证号
	 * @return pid
	 */
	public String getPid() {
		return pid;
	}
	/**
	 * 设置 身份证号
	 * @param pid 身份证号
	 */
	public void setPid(String pid) {
		this.pid = pid;
	}
	/**
	 * 获取  名字拼音
	 * @return spell
	 */
	public String getSpell() {
		return spell;
	}
	/**
	 * 设置 名字拼音
	 * @param spell 名字拼音
	 */
	public void setSpell(String spell) {
		this.spell = spell;
	}
	/**
	 * 获取  毕业学府
	 * @return graduateFrom
	 */
	public String getGraduateFrom() {
		return graduateFrom;
	}
	/**
	 * 设置 毕业学府
	 * @param graduateFrom 毕业学府
	 */
	public void setGraduateFrom(String graduateFrom) {
		this.graduateFrom = graduateFrom;
	}
	/**
	 * 获取  毕业年月
	 * @return graduateYear
	 */
	public String getGraduateYear() {
		return graduateYear;
	}
	/**
	 * 设置 毕业年月
	 * @param graduateYear 毕业年月
	 */
	public void setGraduateYear(String graduateYear) {
		this.graduateYear = graduateYear;
	}
	/**
	 * 获取  部门
	 * @return dept
	 */
	public String getDept() {
		return dept;
	}
	/**
	 * 设置 部门
	 * @param dept 部门
	 */
	public void setDept(String dept) {
		this.dept = dept;
	}
	/**
	 * 获取  职务
	 * @return workType
	 */
	public String getWorkType() {
		return workType;
	}
	/**
	 * 设置 职务
	 * @param workType 职务
	 */
	public void setWorkType(String workType) {
		this.workType = workType;
	}
	/**
	 * 获取  头衔
	 * @return title
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * 设置 头衔
	 * @param title 头衔
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * 获取  级别
	 * @return treeLevel
	 */
	public String getTreeLevel() {
		return treeLevel;
	}
	/**
	 * 设置 级别
	 * @param treeLevel 级别
	 */
	public void setTreeLevel(String treeLevel) {
		this.treeLevel = treeLevel;
	}
	/**
	 * 获取  雇主
	 * @return employer
	 */
	public String getEmployer() {
		return employer;
	}
	/**
	 * 设置 雇主
	 * @param employer 雇主
	 */
	public void setEmployer(String employer) {
		this.employer = employer;
	}
	/**
	 * 获取  状态
	 * @return status
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * 设置 状态
	 * @param status 状态
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * 获取  入职时间
	 * @return joinTime
	 */
	public Date getJoinTime() {
		return joinTime;
	}
	/**
	 * 设置 入职时间
	 * @param joinTime 入职时间
	 */
	public void setJoinTime(Date joinTime) {
		this.joinTime = joinTime;
	}
	/**
	 * 获取  离职时间
	 * @return continueTime
	 */
	public Date getContinueTime() {
		return continueTime;
	}
	/**
	 * 设置 离职时间
	 * @param continueTime 离职时间
	 */
	public void setContinueTime(Date continueTime) {
		this.continueTime = continueTime;
	}
	/**
	 * 获取  住宅电话
	 * @return homePhone
	 */
	public String getHomePhone() {
		return homePhone;
	}
	/**
	 * 设置 住宅电话
	 * @param homePhone 住宅电话
	 */
	public void setHomePhone(String homePhone) {
		this.homePhone = homePhone;
	}
	/**
	 * 获取  办公室电话
	 * @return officePhone
	 */
	public String getOfficePhone() {
		return officePhone;
	}
	/**
	 * 设置 办公室电话
	 * @param officePhone 办公室电话
	 */
	public void setOfficePhone(String officePhone) {
		this.officePhone = officePhone;
	}
	/**
	 * 获取  手机
	 * @return mobile
	 */
	public String getMobile() {
		return mobile;
	}
	/**
	 * 设置 手机
	 * @param mobile 手机
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	/**
	 * 获取  EMAIL
	 * @return email
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * 设置 EMAIL
	 * @param email EMAIL
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	/**
	 * 获取  传真
	 * @return fax
	 */
	public String getFax() {
		return fax;
	}
	/**
	 * 设置 传真
	 * @param fax 传真
	 */
	public void setFax(String fax) {
		this.fax = fax;
	}
	/**
	 * 获取  现住地址
	 * @return homeAddr
	 */
	public String getHomeAddr() {
		return homeAddr;
	}
	/**
	 * 设置 现住地址
	 * @param homeAddr 现住地址
	 */
	public void setHomeAddr(String homeAddr) {
		this.homeAddr = homeAddr;
	}
	/**
	 * 获取  现住地址编码
	 * @return homeAddrZip
	 */
	public String getHomeAddrZip() {
		return homeAddrZip;
	}
	/**
	 * 设置 现住地址编码
	 * @param homeAddrZip 现住地址编码
	 */
	public void setHomeAddrZip(String homeAddrZip) {
		this.homeAddrZip = homeAddrZip;
	}
	/**
	 * 获取  出生地址
	 * @return birthPlace
	 */
	public String getBirthPlace() {
		return birthPlace;
	}
	/**
	 * 设置 出生地址
	 * @param birthPlace 出生地址
	 */
	public void setBirthPlace(String birthPlace) {
		this.birthPlace = birthPlace;
	}
	/**
	 * 获取  出生地编码
	 * @return birthPlaceZip
	 */
	public String getBirthPlaceZip() {
		return birthPlaceZip;
	}
	/**
	 * 设置 出生地编码
	 * @param birthPlaceZip 出生地编码
	 */
	public void setBirthPlaceZip(String birthPlaceZip) {
		this.birthPlaceZip = birthPlaceZip;
	}
	/**
	 * 获取  视力
	 * @return eyesight
	 */
	public String getEyesight() {
		return eyesight;
	}
	/**
	 * 设置 视力
	 * @param eyesight 视力
	 */
	public void setEyesight(String eyesight) {
		this.eyesight = eyesight;
	}
	/**
	 * 获取  性格
	 * @return kidney
	 */
	public String getKidney() {
		return kidney;
	}
	/**
	 * 设置 性格
	 * @param kidney 性格
	 */
	public void setKidney(String kidney) {
		this.kidney = kidney;
	}
	/**
	 * 获取  体能
	 * @return sinew
	 */
	public String getSinew() {
		return sinew;
	}
	/**
	 * 设置 体能
	 * @param sinew 体能
	 */
	public void setSinew(String sinew) {
		this.sinew = sinew;
	}
	/**
	 * 获取  从业资格证书
	 * @return permittedLicense
	 */
	public String getPermittedLicense() {
		return permittedLicense;
	}
	/**
	 * 设置 从业资格证书
	 * @param permittedLicense 从业资格证书
	 */
	public void setPermittedLicense(String permittedLicense) {
		this.permittedLicense = permittedLicense;
	}
	/**
	 * 获取  从业证发证机关
	 * @return orgName
	 */
	public String getOrgName() {
		return orgName;
	}
	/**
	 * 设置 从业证发证机关
	 * @param orgName 从业证发证机关
	 */
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	/**
	 * 获取  证件号
	 * @return licenseNo
	 */
	public String getLicenseNo() {
		return licenseNo;
	}
	/**
	 * 设置 证件号
	 * @param licenseNo 证件号
	 */
	public void setLicenseNo(String licenseNo) {
		this.licenseNo = licenseNo;
	}
	/**
	 * 获取  工作经历
	 * @return workRemark
	 */
	public String getWorkRemark() {
		return workRemark;
	}
	/**
	 * 设置 工作经历
	 * @param workRemark 工作经历
	 */
	public void setWorkRemark(String workRemark) {
		this.workRemark = workRemark;
	}
	/**
	 * 获取  所受奖惩
	 * @return rewardsPunishment
	 */
	public String getRewardsPunishment() {
		return rewardsPunishment;
	}
	/**
	 * 设置 所受奖惩
	 * @param rewardsPunishment 所受奖惩
	 */
	public void setRewardsPunishment(String rewardsPunishment) {
		this.rewardsPunishment = rewardsPunishment;
	}
	/**
	 * 获取  备注
	 * @return remark
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * 设置 备注
	 * @param remark 备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}



}
